import axios from 'axios'
const service = axios.create({
	baseURL:'',
	timeout:5000
})
service.interceptors.request.use(config => {
	return config
	// body...
}, error => {
	console.log(error)
	return Promise.reject(error)
	// body...
})

service.interceptors.response.use(response => {
	return response
},error => {
	console.log(error)
	return Promise.reject(error)
})
export default service